// app.js

const QQMapWX = require("./libs/qqmap-wx-jssdk.js")
App({
  onLaunch: function () {
    // 初始化云环境
    wx.cloud.init({
      env:"cloud1-9ghbtgnv556a559e"
    })
    // 初始化qqmapsdk
    let qqmapsdk = new QQMapWX({
      key: '5CNBZ-NAWKO-WXSWH-S7JJV-PMLLK-FGBLL'
    });

    this.globalData.qqmapsdk = qqmapsdk;
  },
  globalData:{
    cityname:"未选择",
    qqmapsdk: {},
    openid:""
  }

});
